package com.wlyuan.open.dto;

import com.wlyuan.open.OpenBaseSyncDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author yuanzheng
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class OpenCarrierSyncDTO extends OpenBaseSyncDTO implements Serializable {
    private static final long serialVersionUID = -6717342615613058336L;
    private Long carrierId;

    @ApiModelProperty(value = "承运方名称")
    private String name;
    @ApiModelProperty(value = "承运方类型 类型,0 线下 ，1线上，3个体司机")
    private Integer type;

    @ApiModelProperty(value = "承运商简称")
    private String abbr;
    @ApiModelProperty(value = "联系人")
    private String contactName;
    @ApiModelProperty(value = "联系电话")
    private String contactMobile;
    @ApiModelProperty("联系人邮箱")
    private String contactEmail;
    @ApiModelProperty(value = "承运方状态")
    private Integer status;
    @ApiModelProperty("委托对账")
    private Integer autoBalance;
    @ApiModelProperty("热度")
    private Integer hots;
    @ApiModelProperty("是否个体司机 0 否 1 是")
    private Integer personal;

    @ApiModelProperty(value = "创建用户id")
    private Long createBy;
    @ApiModelProperty(value = "修改用户id")
    private Long updateBy;
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createAt;
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateAt;

    @ApiModelProperty(value = "站点地址信息")
    private List<OpenStationAddressSyncDTO> stationList;

    @ApiModelProperty("下游租户id")
    private Long downstream;
    @ApiModelProperty("所属租户名称")
    private String tenantName;
}
